package com.zretc.kscxmz.services.impl;

import com.zretc.kscxmz.entity.Role;
import com.zretc.kscxmz.mappers.RoleListMapper;
import com.zretc.kscxmz.services.RoleListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RoleListServiceImpl implements RoleListService {

    @Autowired
    private RoleListMapper roleListMapper;

    /**
     * 角色列表
     * @return
     */
    @Override
    public List<Role> getRoleList() {
        return roleListMapper.findAllRole();
    }
}
